package com.zhudi.develop_demo_as;

import android.os.Bundle;

import com.zhudi.develop_demo_as.network.LoadingLayer;
import com.zhudi.develop_demo_as.swipebacklayout.SwipeBackActivity;

import butterknife.ButterKnife;

public abstract class BaseActivity extends SwipeBackActivity {
    protected abstract int getLayoutView();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutView());
        LoadingLayer.init(this);
        ButterKnife.bind(this);
    }

    @Override
    protected void onResume() {
        super.onResume();

    }
}
